<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><%@include file="/include/public.jspf"%>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,user-scalable=no" />
<link rel="stylesheet" type="text/css" href="${path }/css/default/m-base.css" />
<link rel="stylesheet" type="text/css" href="${path }/css/default/event/m-common.css" />
<script type="text/javascript" src="${path }/js/jquery1.10.2.min.js"></script>
<script type="text/javascript" src="${path }/js/lib/zepto.js"></script>
<script type="text/javascript" src="${path }/js/common/base.js"></script>

<style>
body{background:#f5f5f9;}
.reg_top{margin:0 15px; color:#909ba8;}
.ui_title{height:45px; text-align:center; font-size:18px; line-height:45px; background:#fff; position:relative;}
.ui_title a{color:#41474d; font-size:14px;}
.ui_title .ui_back{position:absolute; left:10px;}
.ui_icon_back{background:url(${path}/images/back.png) no-repeat; width:9px; height:20px; display:inline-block; background-size:9px 17px; margin:0 5px 0 0px; vertical-align:middle;}
</style>
<title>注册</title>
</head>
<body>
 <div class="p_login_new">
                        <div class="ui_title"><a class="ui_back" href="${path }/"><i class="ui_icon_back"></i>返回</a>填写注册信息</div>
                        <div class="login_banner">
                <img src="${path }/images/reg_banner.jpg" width="100%">
            </div>
            <div class="reg_top tr pt10 f14">已有账号？<a href="${path }/user/login">立即登录</a></div>
            <div id="JS-regpanel" class="ui_register">
                <div class="form_box">
                    <div class="border_b">
                        <div class="ui_tel_tips">+86</div>
                        <input type="tel" name="mobile" class="ui_reg_input JS-input_mobile" placeholder="手机号码（用于接收验证码）" value="">
                    </div>
                    <div class="border_b"><input value="" type="password" class="ui_reg_input JS-input_pwd" name="password" placeholder="登录密码（6～16位，不支持空格）"></div>
                                        <div class="border_b">
                                        <input value="${empty recommendCode ? '' : recommendCode}" type="text" name="recommendCode" class="ui_reg_input JS-input_invite" placeholder="邀请码（选填）"/></div>
                                        <div class="border_b">
                        <input type="tel" class="ui_reg_input JS-input_captcha" name="checkcode" placeholder="右侧数字">
                        <div class="yz_img"><img id="checkcode_img" class="JS-verifyimg" onclick="javascript:RegisterCheckcode('checkcode_img');" src="${path }/page/common/vcode.jsp" width="80"></div>
                    </div>
                </div>
                <div>
                    <a class="JS-regbtn reg_finish_btn reg_finish_btn_dis" href="javascript:void(0);">注册</a>
                    <p class="tc pt10 f14 JS-regterm">同意<span class="red"><a href="${path }/page/agreement.jsp" style="color: #08c;">《魔环金融用户协议》</a></span></p>
                </div>
            </div>
            <div id="JS-regverifypanel" class="ui_mask" style="display:none;">
                <div class="ui_dialog">
                    <div class="ui_dialog_close JS-closebtn"></div>
                    <div class="dialog_con">
                        <div class="title">填写短信验证码</div>
                        <div class="dialog_text">
                            <p class="JS-mobilelabel"></p>
                            <p>请输入其中4位数字</p>
                        </div>
                        <div class="ipt_box">
                            <input class="ui_yz_input fl JS-input_vcode" placeholder="短信验证码" type="tel">
                            <span class="reset_btn JS-mcodebtn">重新发送</span>
                        </div>
                        <input type="submit" value="完成注册" class="reg_finish_btn reg_finish_btn_dis JS-regbtn">
                    </div>
                </div>
            </div>
            
        </div>
        
<script type="text/javascript" src="${path }/js/member/registerpanel.js"></script>
<script type="text/javascript">
var RegisterCheckcode = function(id) {
	var newUrl = "";
	var oldUrl = $("#" + id).attr("src");
	if (oldUrl.indexOf("?") != -1) {
		newUrl = oldUrl.substring(0, oldUrl.indexOf("?")) + "?refresh="
				+ Math.random() * 100;
	} else {
		newUrl = oldUrl + "?refresh=" + Math.random() * 100;
	}
	//$("#" + id).attr("src", newUrl);
	$("img[id$=" + id + "]").attr("src", newUrl);
};
</script>
</body>
</html>